package com.petadoption.serverclient.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.petadoption.serverclient.entity.Productcategory;
import com.petadoption.serverclient.mapper.ProductcategoryMapper;
import com.petadoption.serverclient.service.IProductcategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProductcategoryServiceImpl extends ServiceImpl<ProductcategoryMapper, Productcategory> implements IProductcategoryService {

    @Resource
    private ProductcategoryMapper productcategoryMapper;

    @Override
    public List<Productcategory> findImages() {
        return productcategoryMapper.selectList(null);
    }
}
